package com.ibeeking.found.workflow.service.common.constants;

import java.awt.*;

/**
 * @ClassName WorkflowConstants
 * @Description WorkflowConstants
 * @Author ibeeking
 * @Date 2020-06-29 14:54
 **/
public class WorkflowConstants {
    /**
     * 是否定时发布
     */
    public static final Integer HAS_TIMING_PUBLISH_NO = 0;
    public static final Integer HAS_TIMING_PUBLISH_YES = 1;
    /**
     * 字段 id
     */
    public static final String FIELD_ID = "id";
    /**
     * 字段 title
     */
    public static final String FIELD_TITLE = "title";

    /**
     * 秒-1小时
     */
    public static final long HOUR = 3600L;

    public static final long HOUR3 = 10800L;

    /** 动态流程图颜色定义 **/
    public static final Color COLOR_NORMAL = new Color(0, 205, 0);
    public static final Color COLOR_CURRENT = new Color(255, 0, 0);

    /** 定义生成流程图时的边距(像素) **/
    public static final int PROCESS_PADDING = 5;

    public static final String INIT_VERSION = "1.0";

}
